﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020007C7 RID: 1991
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class GetRelicFilterPlanScRsp : IMessage<GetRelicFilterPlanScRsp>, IMessage, IEquatable<GetRelicFilterPlanScRsp>, IDeepCloneable<GetRelicFilterPlanScRsp>, IBufferMessage
	{
		// Token: 0x1700195C RID: 6492
		// (get) Token: 0x06005960 RID: 22880 RVA: 0x000F0A3B File Offset: 0x000EEC3B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<GetRelicFilterPlanScRsp> Parser
		{
			get
			{
				return GetRelicFilterPlanScRsp._parser;
			}
		}

		// Token: 0x1700195D RID: 6493
		// (get) Token: 0x06005961 RID: 22881 RVA: 0x000F0A42 File Offset: 0x000EEC42
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return GetRelicFilterPlanScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x1700195E RID: 6494
		// (get) Token: 0x06005962 RID: 22882 RVA: 0x000F0A54 File Offset: 0x000EEC54
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return GetRelicFilterPlanScRsp.Descriptor;
			}
		}

		// Token: 0x06005963 RID: 22883 RVA: 0x000F0A5B File Offset: 0x000EEC5B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetRelicFilterPlanScRsp()
		{
		}

		// Token: 0x06005964 RID: 22884 RVA: 0x000F0A6E File Offset: 0x000EEC6E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetRelicFilterPlanScRsp(GetRelicFilterPlanScRsp other) : this()
		{
			this.retcode_ = other.retcode_;
			this.relicFilterPlanList_ = other.relicFilterPlanList_.Clone();
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06005965 RID: 22885 RVA: 0x000F0AA4 File Offset: 0x000EECA4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetRelicFilterPlanScRsp Clone()
		{
			return new GetRelicFilterPlanScRsp(this);
		}

		// Token: 0x1700195F RID: 6495
		// (get) Token: 0x06005966 RID: 22886 RVA: 0x000F0AAC File Offset: 0x000EECAC
		// (set) Token: 0x06005967 RID: 22887 RVA: 0x000F0AB4 File Offset: 0x000EECB4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x17001960 RID: 6496
		// (get) Token: 0x06005968 RID: 22888 RVA: 0x000F0ABD File Offset: 0x000EECBD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<RelicFilterPlan> RelicFilterPlanList
		{
			get
			{
				return this.relicFilterPlanList_;
			}
		}

		// Token: 0x06005969 RID: 22889 RVA: 0x000F0AC5 File Offset: 0x000EECC5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as GetRelicFilterPlanScRsp);
		}

		// Token: 0x0600596A RID: 22890 RVA: 0x000F0AD4 File Offset: 0x000EECD4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(GetRelicFilterPlanScRsp other)
		{
			return other != null && (other == this || (this.Retcode == other.Retcode && this.relicFilterPlanList_.Equals(other.relicFilterPlanList_) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600596B RID: 22891 RVA: 0x000F0B24 File Offset: 0x000EED24
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			num ^= this.relicFilterPlanList_.GetHashCode();
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600596C RID: 22892 RVA: 0x000F0B71 File Offset: 0x000EED71
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600596D RID: 22893 RVA: 0x000F0B79 File Offset: 0x000EED79
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600596E RID: 22894 RVA: 0x000F0B84 File Offset: 0x000EED84
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(8);
				output.WriteUInt32(this.Retcode);
			}
			this.relicFilterPlanList_.WriteTo(ref output, GetRelicFilterPlanScRsp._repeated_relicFilterPlanList_codec);
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600596F RID: 22895 RVA: 0x000F0BD4 File Offset: 0x000EEDD4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			num += this.relicFilterPlanList_.CalculateSize(GetRelicFilterPlanScRsp._repeated_relicFilterPlanList_codec);
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06005970 RID: 22896 RVA: 0x000F0C28 File Offset: 0x000EEE28
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(GetRelicFilterPlanScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this.relicFilterPlanList_.Add(other.relicFilterPlanList_);
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06005971 RID: 22897 RVA: 0x000F0C75 File Offset: 0x000EEE75
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06005972 RID: 22898 RVA: 0x000F0C80 File Offset: 0x000EEE80
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 8U)
				{
					if (num != 42U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.relicFilterPlanList_.AddEntriesFrom(ref input, GetRelicFilterPlanScRsp._repeated_relicFilterPlanList_codec);
					}
				}
				else
				{
					this.Retcode = input.ReadUInt32();
				}
			}
		}

		// Token: 0x040022CA RID: 8906
		private static readonly MessageParser<GetRelicFilterPlanScRsp> _parser = new MessageParser<GetRelicFilterPlanScRsp>(() => new GetRelicFilterPlanScRsp());

		// Token: 0x040022CB RID: 8907
		private UnknownFieldSet _unknownFields;

		// Token: 0x040022CC RID: 8908
		public const int RetcodeFieldNumber = 1;

		// Token: 0x040022CD RID: 8909
		private uint retcode_;

		// Token: 0x040022CE RID: 8910
		public const int RelicFilterPlanListFieldNumber = 5;

		// Token: 0x040022CF RID: 8911
		private static readonly FieldCodec<RelicFilterPlan> _repeated_relicFilterPlanList_codec = FieldCodec.ForMessage<RelicFilterPlan>(42U, RelicFilterPlan.Parser);

		// Token: 0x040022D0 RID: 8912
		private readonly RepeatedField<RelicFilterPlan> relicFilterPlanList_ = new RepeatedField<RelicFilterPlan>();
	}
}
